﻿using HeadFirst._01.duck.Interfaces.Implementions;
using HeadFirst._01.duck_02.Interfaces.Implementions;
using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirst._01.duck_02.Classes
{
    public class MallardDuck : Duck
    {
        public MallardDuck()
        {
            quackBehavior = new Quack();
            flyBehavior = new FlyWings();

        }
        public void Display()
        {
            Console.WriteLine("I'm real Mallard duck");

        }
    }
}
